﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace OPM.Models
{
    public class OpmRole
    {
        public OpmRole()
        {
            RoleMenus = new HashSet<RoleMenu>();
        }
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid RoleId { get; set; }
        public string RoleName { get; set; }
        public ICollection<RoleMenu> RoleMenus { get; set; } 
    } 
}